package com.itheima.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;

@Data //@Setter  @Getter @ToString
@AllArgsConstructor//注解一加 默认的无惨构造函数就不存在
@NoArgsConstructor
@Slf4j //日志记录 private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LogExample.class);

//@Table(name = "t_user")
public class User1{
   // @Id
    //@KeySql(useGeneratedKeys = true) //类似于<insert> <selectKey>
    private Integer id;

    //@Column(name = "username")
    private String username;

    private String password;

    private String telephone;

    private Integer gender;

    private Date birthday;

    //....

//    public static void main(String[] args) {
//        log.debug("");
//        log.info("");
//        log.warn("");
//        log.error("");
//    }
}
